//
//  ResponseManager+ModifyUserInfo.m
//  一点互助
//
//  Created by 张泊秋 on 16/8/26.
//  Copyright © 2016年 zhangboqiu. All rights reserved.
//

#import "ResponseManager+ModifyUserInfo.h"

@implementation ResponseManager (ModifyUserInfo)

+ (void)amendUserInfoNiceName:(NSString *)nicename pass:(NSString *)pass completionHandler:(RequestCompletion)completionHandler{
    NSMutableDictionary *parameters = [NSMutableDictionary dictionary];
    parameters[@"user_nicename"] = nicename;
    parameters[@"pass"] = pass;
    
    [self startPostRequestWithURLString:kamendUserInfoURL parameters:parameters completionHandler:^(FBResponse *response) {
        
        completionHandler(response);
    }];
}

@end
